package cn.com.shopec.erp.product.service;

import java.util.List;

import cn.com.shopec.erp.common.page.PageFinder;
import cn.com.shopec.erp.common.page.PageQuery;
import cn.com.shopec.erp.product.entity.ProdSupplier;
import cn.com.shopec.erp.product.vo.ProdSupplierVo;


/**
 * @ClassName: IProdSupplierService
 * @Description: 货品供应商价格Service接口
 * @author: gaoyaxiong
 * @date: 2013-6-2 下午14:14:13
 */
public interface IProdSupplierService {
	
	/**
     * 
     * @Title: getPageFinderProdSupplier
     * @Description: 分页查询供应商价格信息
     * @param prodSupplierVo
     * @param pageQuery
     * @return
     * @throws
     * @author: gaoyaxiong
     * @date: 2013-6-3上午10:56:00
     */
	public PageFinder<ProdSupplierVo> getPageFinderProdSupplier(ProdSupplierVo prodSupplierVo,PageQuery pageQuery);
	
	
	/**
     * 
     * @Title: getProdSupplierList
     * @Description: 查询供应商价格信息列表
     * @param prodSupplierVo
     * @return
     * @throws
     * @author: gaoyaxiong
     * @date: 2013-6-4上午10:56:00
     */
	public List<ProdSupplier> getProdSupplierList(ProdSupplierVo prodSupplierVo);
	
	/**
     * 
     * @Title: updateProdSupplierByDelectFlag
     * @Description: 删除供应商价格信息
     * @param prodSupplierVo
     * @return
	 * @throws Exception 
     * @throws
     * @author: gaoyaxiong
     * @date: 2013-6-4上午10:56:00
     */
	public String updateProdSupplierByDelectFlag(ProdSupplierVo prodSupplierVo) throws Exception;

	
	/**
     * 
     * @Title: updateProdSupplierByProdNo
     * @Description: 修改供应商货品编码
     * @param oldProdNo
	 * @param newProdNo
     * @return
     * @author: gaoyaxiong
     * @date: 2013-6-4上午10:56:00
     */
	void updateProdSupplierByProdNo(String oldProdNo, String newProdNo);


	PageFinder<ProdSupplierVo> getPageFinderProdSupplierST(
			ProdSupplierVo prodSupplierVo, PageQuery pageQuery);
	
	/**
     * 根据供应商名称查询供应商信息
     * @param supName
     * @return
     */
    ProdSupplierVo getPuNoByPurchaseRequest(String supName);
}
